FROM java:8-jre

MAINTAINER 370261528@qq.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /home/logs

RUN mkdir -p /rocketmq

WORKDIR /rocketmq

ADD rocketmq/ rocketmq/

#RUN chmod -R +x rocketmq/bin/*

EXPOSE 7896 10911 10912

#ENTRYPOINT sh rocketmq/mq-broker